From f2d439afcdd5416294115e40c1c8d3977e558d5b Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 16 Aug 2004 00:04:03 +0000 Subject: [PATCH] term/x-win.el (x-selection-value): If utf8 was successful but ctext was not, use utf8 string. --- lisp/term/x-win.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index d9700809413..61602d1f355 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -2212,7 +2212,8 @@ order until succeed.") (if utf8 (setq text (x-select-utf8-or-ctext utf8 ctext)) ;; Othewise, choose CTEXT. - (setq text ctext)))) + (setq text ctext)) + (setq text utf8))) ;; If not yet decided, try STRING. (or text (setq text (condition-case nil -- 2.30.2